package com.cq.oa.domain.sm;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import oa.base.hibernate.BaseClass;

@Entity
@Table(name = "sm_user_role")
public class UserRole extends BaseClass implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 512798991789957234L;

	@Column(name = "USER_SID")
	private Long userSid;
	
	@Column(name = "ROLE_SID")
	private Long roleSid;
	
	@Column(name = "ROLE_CNAME")
	private String roleCname;
	
	@Column(name = "USER_CNAME")
	private String userCname;
	
	
	@Column(name = "ORG_CNAME")
	private String orgCname;


	public Long getUserSid() {
		return userSid;
	}


	public void setUserSid(Long userSid) {
		this.userSid = userSid;
	}



	public Long getRoleSid() {
		return roleSid;
	}


	public void setRoleSid(Long roleSid) {
		this.roleSid = roleSid;
	}


	public String getRoleCname() {
		return roleCname;
	}


	public void setRoleCname(String roleCname) {
		this.roleCname = roleCname;
	}


	public String getUserCname() {
		return userCname;
	}


	public void setUserCname(String userCname) {
		this.userCname = userCname;
	}


	public String getOrgCname() {
		return orgCname;
	}


	public void setOrgCname(String orgCname) {
		this.orgCname = orgCname;
	}
	
	
	
}
